﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hopscotch.Common.Contracts.AppService;
using Hopscotch.Common.Services.Wcf;
using Hopscotch.Domain.Finance;

namespace Hopscotch.Common.Communication.WcfClients
{
    public class InstrumentServiceClient : DomainServiceClient<Instrument, int>, IInstrumentService
    {
        private readonly IClientProxyFactory<IInstrumentService> tradeServiceFactory;

        public InstrumentServiceClient(IClientProxyFactory<IInstrumentService> tradeServiceFactory)
            : base (tradeServiceFactory)
        {
            this.tradeServiceFactory = tradeServiceFactory;
        }
    }
}
